home *** CD-ROM | disk | FTP | other *** search
/ Business Assistant / Business Assistant.iso / acctg / tx40e / setup.doc < prev    next >
Text File  |  1988-07-22  |  5KB  |  103 lines

  1. NIFTY SET UP 
  2.  
  3.  
  4. -- HELP FILES
  5.  
  6.      Help files may be set up with any editor capable of producing industry- 
  7. standard ASCII characters.  GRAPHED is such an editor, but you may find your 
  8. favorite word processor to be more familiar.  Whatever editor you use, make 
  9. sure that each line in the file you create is no more than 79 characters long.  
  10. Help files may be of any length, but the shorter, more concise ones are the 
  11. best.
  12.  
  13.  
  14. -- MENUS
  15.  
  16.      As a Help system, Nifty uses a file called HELP.MNU as it's primary menu.  
  17. As a Menu system, Nifty relies upon a file called MENU.MNU.  Each of these 
  18. menus might refer to sub-menus that you can also set up.
  19.  
  20.      Each file used as a menu must have the extension, ".MNU", and it must be 
  21. located in the Nifty directory.  Only the MNU files need to be in the the Nifty 
  22. directory -- other programs and files accessed by Nifty may be located anywhere 
  23. on any drive.  
  24.  
  25.      Each menu (MNU) file should be set up with an ASCII editor (such as GRAPH-
  26. ED).  The first 24 lines of each file will be the portion that is shown to the 
  27. user whenever Nifty accesses that menu.  You're free to use any format or lay-
  28. out you desire in designing the first 24 lines.  Wording and placement of the 
  29. choices that will be displayed to the Nifty user is completely up to you.
  30.  
  31.      Somewhere in the first 24 lines, there should be one or more references to 
  32. the choices that the user may invoke by striking a single key.  In other words, 
  33. the user should be advised that he needs press a single key to select one 
  34. choice or another. 
  35.  
  36.      Each line after the first 24 (the only ones shown to the user) should 
  37. contain an instruction for Nifty.  There should be a separate instruction line 
  38. for each choice presented to the user (in the first 24 lines).  Basically, an 
  39. instruction consists of three parts:
  40.  
  41.      1:   A number or letter corresponding to a menu choice; followed by
  42.      2:   An action symbol ("=" or ">"); followed by
  43.      3:   A file name (including the file extension and path, if appropriate).
  44.  
  45.      The "=" sign indicates that whenever the right key is pressed, Nifty 
  46. should display the file whose name follows the "=" sign.  If a help file's name 
  47. follows the "=" sign, that file will be shown to you.  If another MENU's name 
  48. follows the "=" sign, Nifty will switch to that help menu and offer you the 
  49. choices contained therein.  Examples:
  50.  
  51.                                  A=AARDVARK.HLP
  52.                                  T=TREE.MNU
  53.  
  54. The first line tells Nifty to display the AARDVARK help file whenever "A" is 
  55. pressed.  The second instructs the program to switch to the TREE menu and offer 
  56. you whatever choices it may contain.
  57.  
  58.      The ">" sign indicates that whenever the right key is pressed, Nifty will 
  59. execute the program whose complete path name follows the ">" sign.  This option 
  60. is available only when Nifty is being used as a Menu (since it's not appropri-
  61. ate for a Help system to be able to execute external programs).  Remember, the 
  62. complete path name must be used.  For instance, if WordPerfect were located in 
  63. the WRDPRFCT directory of drive D, the path you should include in the MENU.MNU 
  64. file is, "D:\WRDPRFCT\WP.EXE".  Examples:
  65.  
  66.                               W>D:\WRDPRFCT\WP.EXE
  67.                               P>\COMMO\PROCOMM.EXE
  68.                               D>DIR 
  69.                               F>FORMATA.BAT
  70.  
  71. The first line has already been discussed.  The second instructs Nifty to exe-
  72. cute PROCOMM (located in the COMM directory of the logged disk drive) whenever 
  73. "P" is pressed.  The third line causes a directory listing of the current di-
  74. rectory whenever "D" is pressed (no file extension or path information is need-
  75. ed here, since DIR is an internal DOS command).  The fourth line causes the
  76. FORMATA.BAT batch file to be executed when "F" is pressed (since no path 
  77. information is given, this file is evidently located in the same subdirectory 
  78. as Nifty).
  79.   
  80.      NOTE:
  81.           Be sure to include the full path, filename AND extension
  82.      for all BAT, COM, and EXE files.  Though the program may often
  83.      function satisfactorily without a file extension, there may
  84.      occasionally be unpredictable results.  
  85.  
  86.           Remember that all paths begin with "\".  You may get by 
  87.      without entering a full path if, and ONLY if, that path is part
  88.      of the computer environment's general "PATH" statement -- see 
  89.      your DOS book for details on the "PATH" statement.
  90.  
  91.      Each menu file (MENU.MNU, HELP.MNU, and any others you set up) may have up 
  92. to 50 instruction lines following the first 24.  The maximum number of choices 
  93. on each menu, therefore, is fifty.  Sub-menus should be utilized if you have a 
  94. complicated Help or Menu system.  The complete filename/extension/path refer-
  95. enced on each line may have up to 30 characters.  If 30 characters is not 
  96. enough room to specify a files's full path and name, you should instead specify 
  97. a batch file that will, in turn, specify the full path and file name.  
  98.  
  99.      If you're using Nifty as a Menu system, and you want to it execute a 
  100. complicated multi-step routine, you should place that routine into a batch file 
  101. and use Nifty to execute that batch file when the user presses the appropriate 
  102. key.
  103.